[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 INPUT SEXP,VAR

      Display SEXP and get input from user, assigning it to VAR
      (60 characters maximum)

 Function
  Prompt the user for input using the string specified by SEXP, and
  store the users input in the variable specified by VAR.
  Maximum input allowed is 60 characters.

 Syntax
  INPUT prompt,var

   prompt  - A string expression with the prompt to display to the user.
   var     - The variable in which to store the user's input.

 Remarks
  This statement will accept any string of input from the user, up to 60
  characters in length.  In addition to displaying the prompt, it will
  display parenthesis around the input field if the user is in ANSI
  mode.  Because of this, you should generally limit your prompts to 15
  characters or less.

 Examples
  BOOLEAN b
  DATE    d
  INTEGER i
  MONEY   m
  STRING  s
  TIME    t
  INPUT "Enter BOOLEAN",b
  INPUT "Enter DATE",d
  INPUT "Enter INTEGER",i
  INPUT "Enter MONEY",m
  INPUT "Enter STRING",s
  INPUT "Enter TIME",t
  PRINTLN b," ",d," ",i
  PRINTLN m," ",s," ",t

See Also: INPUT... INPUTSTR INPUTTEXT PROMPTSTR
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson